/*
 * Client.h
 *
 *  Created on: Dec 4, 2010
 *      Author: lycdragon
 */

#ifndef CLIENT_H_
#define CLIENT_H_

#include "Commonfunction.h"

using namespace std;

class Client {
	char lsipaddr[20];
	char sharefolder[50];
	int portofls;
	string name;
public:
	Client();
	int saveFileFromServer(char fileName[]);
	void sendRequest(string query);
	void getFile(string fileName);
};

#endif /* CLIENT_H_ */
